#!/usr/bin/python
# -*- coding: utf-8 -*-
# @version        : 1.0
# @Create Time    : 2024/9/6 11:11
# @File           : vendor
# @IDE            : PyCharm
# @desc           : 描述


from fastapi import Depends
from core.dependencies import Paging, QueryParams


class ParamParams(QueryParams):
    """
    列表分页
    """

    def __init__(
            self,
            params: Paging = Depends(),
            param_type: str = None,
            param_name: str = None,
            param_value: str = None,
            is_active: bool = None,
    ):
        super().__init__(params)
        self.param_type = param_type
        self.param_name = param_name
        self.param_value = param_value
        self.is_active = is_active
